package com;

import java.util.UUID;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import x.y.service.Foo;
import x.y.service.FooService;
import x.y.service.RunTask;

public final class Boot {

	  public static void main(final String[] args) throws Exception {
		
//	    ApplicationContext ctx = new ClassPathXmlApplicationContext("application-jdbc.xml", Boot.class);
//	    FooService fooService = (FooService) ctx.getBean("fooService");
	    
//	    new Thread(new RunTask(fooService,"100")).start();
//	    new Thread(new RunTask(fooService,"100")).start();
	    
//	    fooService.insertFoo("11");
//		  ModelMm modelBox = new ModelMm();
//		  modelBox.setPrimary("id");
//		  for(int i=0;i<120;i++){
//			  if(i == 8){
//				  System.out.println("asdsad");
//			  }
//			  ModelTest model = new ModelTest();
//			  model.setId(i);
//			  modelBox.insert(model);
//		  }
		 
		  
		  
		 
	  }
}